package xyz.labmem.main.modular.app.other.entity

import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.baomidou.mybatisplus.extension.activerecord.Model
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.io.Serializable
import java.util.*

@TableName("modular_info")
@ApiModel(value = "各模块中心坐标")
class ModularInfo : Model<ModularInfo>(), Serializable {
    /** 主键 */
    @ExcelProperty("主键")
    @TableId
    @ApiModelProperty(value = "主键")
    var id : String? = null


    /** 经度 */
    @ExcelProperty("经度")
    @ApiModelProperty(value = "经度")
    var jd : String? = null

    /** 维度 */
    @ExcelProperty("维度")

    @ApiModelProperty(value = "维度")
    var wd : String? = null

    /** 层级 */
    @ExcelProperty("层级")
    @ApiModelProperty(value = "层级")
    var level : String? = null

    /** 名称 */
    @ExcelProperty("名称")

    @ApiModelProperty(value = "名称")
    var name : String? = null

    /** 备注 */
    @ExcelProperty("备注")

    @ApiModelProperty(value = "备注")
    var remark : String? = null


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    var createTime: Date? = null

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty(value = "更新时间")
    var updateTime: Date? = null

}